# 查看
# networksetup -listnetworkserviceorder

# 设置
networksetup -setmanual Wi-Fi 192.168.18.255 255.255.240.0 192.168.17.1

# dns
networksetup -setdnsservers Wi-Fi 192.168.17.1

